package com.cjz.domain;


public class User {

  private String userName;
  private String password;
  private String realName;
  private String role;

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getRealName() {
    return realName;
  }

  public void setRealName(String realName) {
    this.realName = realName;
  }

  public String getRole() {
    return role;
  }

  public void setRole(String role) {
    this.role = role;
  }

  @Override
  public String toString() {
    return "User{" +
            "userName='" + userName + '\'' +
            ", password='" + password + '\'' +
            ", realName='" + realName + '\'' +
            ", role='" + role + '\'' +
            '}';
  }

  public User() {

  }

  public User(String userName, String password, String realName, String role) {
    this.userName = userName;
    this.password = password;
    this.realName = realName;
    this.role = role;
  }
}
